package com.lipiao.food;

public class FoodBean {
    String picUrl;//菜的图片url
    String courseUrl;//教程

    //这里只让其自动生成GET方法是因为后面recycleView点击事件要用，构造函数已经初始化完成且不需要改动
    public String getPicUrl() {
        return picUrl;
    }

    public String getCourseUrl() {
        return courseUrl;
    }

    public String getFoodName() {
        return foodName;
    }

    public String getFoodMaterials() {
        return foodMaterials;
    }

    String foodName;//菜名
    String foodMaterials;//食材

    //generate自动生成的构造函数，选中三个参数
    public FoodBean(String picUrl, String foodName, String foodMaterials,String courseUrl) {
        this.picUrl = picUrl;
        this.foodName = foodName;
        this.foodMaterials = foodMaterials;
        this.courseUrl=courseUrl;
    }
}
